home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Software Dispatch
/
Apple Software Dispatch.iso
/
Software Dispatch Files
/
Oregon Trail
/
Sample Application
/
Sample Application.rsrc
/
CODE_9_Init.txt
< prev
next >
Wrap
Text File
|
1993-06-23
|
77KB
|
1,368 lines
# near model CODE resource
# jump table entries: 2640-2640 (1 of them)
fn00000000:
00000000 598F subq.l A7, 4
00000002 4878 0454 push.l 0x454
00000006 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
0000000A 2B5F D136 move.l [A5 - 0x2ECA], [A7]+
0000000E 6612 bne +0x14 /* 00000022 */
00000010 486D CFA8 pea.l [A5 - 0x3058]
00000014 3038 0220 move.w D0, [0x00000220 /* MemErr */]
00000018 48C0 ext.l D0
0000001A 2F00 move.l -[A7], D0
0000001C 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000020 508F addq.l A7, 8
label00000022:
00000022 598F subq.l A7, 4
00000024 4878 0242 push.l 0x242
00000028 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
0000002C 2B5F D02C move.l [A5 - 0x2FD4], [A7]+
00000030 6612 bne +0x14 /* 00000044 */
00000032 486D CFB4 pea.l [A5 - 0x304C]
00000036 3038 0220 move.w D0, [0x00000220 /* MemErr */]
0000003A 48C0 ext.l D0
0000003C 2F00 move.l -[A7], D0
0000003E 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000042 508F addq.l A7, 8
label00000044:
00000044 598F subq.l A7, 4
00000046 7066 moveq.l D0, 0x66
00000048 2F00 move.l -[A7], D0
0000004A 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
0000004E 2B5F D024 move.l [A5 - 0x2FDC], [A7]+
00000052 6612 bne +0x14 /* 00000066 */
00000054 486D CFC0 pea.l [A5 - 0x3040]
00000058 3038 0220 move.w D0, [0x00000220 /* MemErr */]
0000005C 48C0 ext.l D0
0000005E 2F00 move.l -[A7], D0
00000060 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000064 508F addq.l A7, 8
label00000066:
00000066 426D D692 clr.w [A5 - 0x296E]
0000006A 426D D728 clr.w [A5 - 0x28D8]
0000006E 4EAD 0A0A jsr [A5 + 0xA0A /* export_317 */]
00000072 302D D904 move.w D0, [A5 - 0x26FC]
00000076 48C0 ext.l D0
00000078 6630 bne +0x32 /* 000000AA */
0000007A 4EBA 0034 jsr [PC + 0x34 /* 000000B0 */]
0000007E 7200 moveq.l D1, 0x00
00000080 1200 move.b D1, D0
00000082 6626 bne +0x28 /* 000000AA */
00000084 206D D136 movea.l A0, [A5 - 0x2ECA]
00000088 3028 0004 move.w D0, [A0 + 0x4]
0000008C 48C0 ext.l D0
0000008E 7201 moveq.l D1, 0x01
00000090 B280 cmp.l D1, D0
00000092 6C0C bge +0xE /* 000000A0 */
00000094 700B moveq.l D0, 0x0B
00000096 2F00 move.l -[A7], D0
00000098 4EAD 0A62 jsr [A5 + 0xA62 /* export_328 */]
0000009C 588F addq.l A7, 4
0000009E 600A bra +0xC /* 000000AA */
label000000A0:
000000A0 700C moveq.l D0, 0x0C
000000A2 2F00 move.l -[A7], D0
000000A4 4EAD 0A62 jsr [A5 + 0xA62 /* export_328 */]
000000A8 588F addq.l A7, 4
label000000AA:
000000AA 4EAD 0A12 jsr [A5 + 0xA12 /* export_318 */]
000000AE 4E75 rts
fn000000B0:
000000B0 4E56 FF00 link A6, -0x0100
000000B4 48E7 0110 movem.l -[A7], D7,A3
000000B8 47EE FF00 lea.l A3, [A6 - 0x100]
000000BC 206D D136 movea.l A0, [A5 - 0x2ECA]
000000C0 0C90 4D45 4343 cmpi.l [A0], 0x4D454343 /* 'MECC' */
000000C6 664C bne +0x4E /* 00000114 */
000000C8 206D D136 movea.l A0, [A5 - 0x2ECA]
000000CC 3028 0004 move.w D0, [A0 + 0x4]
000000D0 48C0 ext.l D0
000000D2 7201 moveq.l D1, 0x01
000000D4 B280 cmp.l D1, D0
000000D6 6D3C blt +0x3E /* 00000114 */
000000D8 2F0B move.l -[A7], A3
000000DA 3F3C 0BB8 move.w -[A7], 0xBB8
000000DE 700A moveq.l D0, 0x0A
000000E0 3F00 move.w -[A7], D0
000000E2 4EAD 0402 jsr [A5 + 0x402 /* export_124 */]
000000E6 4247 clr.w D7
000000E8 601C bra +0x1E /* 00000106 */
label000000EA:
000000EA 7000 moveq.l D0, 0x00
000000EC 1033 7000 move.b D0, [A3 + D7.w]
000000F0 206D D136 movea.l A0, [A5 - 0x2ECA]
000000F4 7200 moveq.l D1, 0x00
000000F6 1230 7006 move.b D1, [A0 + D7.w + 0x6]
000000FA B280 cmp.l D1, D0
000000FC 6704 beq +0x6 /* 00000102 */
000000FE 7000 moveq.l D0, 0x00
00000100 6014 bra +0x16 /* 00000116 */
label00000102:
00000102 3007 move.w D0, D7
00000104 5247 addq.w D7, 1
label00000106:
00000106 48C7 ext.l D7
00000108 7000 moveq.l D0, 0x00
0000010A 1013 move.b D0, [A3]
0000010C B087 cmp.l D0, D7
0000010E 6CDA bge -0x24 /* 000000EA */
00000110 7001 moveq.l D0, 0x01
00000112 6002 bra +0x4 /* 00000116 */
label00000114:
00000114 7000 moveq.l D0, 0x00
label00000116:
00000116 4CEE 0880 FEF8 movem.l D7,A3, [A6 - 0x108]
0000011C 4E5E unlink A6
0000011E 4E75 rts
export_330:
00000120 4E56 FFFC link A6, -0x0004
00000124 4EBA 004C jsr [PC + 0x4C /* 00000172 */]
00000128 558F subq.l A7, 2
0000012A 4EAD 0492 jsr [A5 + 0x492 /* export_142 */]
0000012E A850 syscall InitCursor
00000130 598F subq.l A7, 4
00000132 A9FA syscall UnloadScrap/UnlodeScrap
00000134 4EBA 0416 jsr [PC + 0x416 /* 0000054C */]
00000138 4EBA 0350 jsr [PC + 0x350 /* 0000048A */]
0000013C 4EBA 02E2 jsr [PC + 0x2E2 /* 00000420 */]
00000140 4EAD 072A jsr [A5 + 0x72A /* export_225 */]
00000144 4EBA 0730 jsr [PC + 0x730 /* 00000876 */]
00000148 4EBA 0100 jsr [PC + 0x100 /* 0000024A */]
0000014C 4EBA 01A0 jsr [PC + 0x1A0 /* 000002EE */]
00000150 4EBA FEAE jsr [PC - 0x152 /* 00000000 */]
00000154 4EBA 0054 jsr [PC + 0x54 /* 000001AA */]
00000158 486E FFFC pea.l [A6 - 0x4]
0000015C 4EAD 02DA jsr [A5 + 0x2DA /* export_87 */]
00000160 2B6E FFFC FE00 move.l [A5 - 0x200], [A6 - 0x4]
00000166 4EBA 0A1E jsr [PC + 0xA1E /* 00000B86 */]
0000016A 4EBA 0082 jsr [PC + 0x82 /* 000001EE */]
0000016E 4E5E unlink A6
00000170 4E75 rts
fn00000172:
00000172 2F07 move.l -[A7], D7
00000174 486D FE7E pea.l [A5 - 0x182]
00000178 A86E syscall InitGraf
0000017A A8FE syscall InitFonts
0000017C A912 syscall InitWindows
0000017E A930 syscall InitMenus
00000180 A9CC syscall TEInit
00000182 7000 moveq.l D0, 0x00
00000184 2F00 move.l -[A7], D0
00000186 A97B syscall InitDialogs
00000188 70FF moveq.l D0, 0xFFFFFFFF
0000018A 3F00 move.w -[A7], D0
0000018C 7200 moveq.l D1, 0x00
0000018E 3F01 move.w -[A7], D1
00000190 201F move.l D0, [A7]+
00000192 A032 syscall FlushEvents
00000194 A063 syscall MaxApplZone
00000196 4247 clr.w D7
00000198 6004 bra +0x6 /* 0000019E */
label0000019A:
0000019A A036 syscall MoreMasters
0000019C 5247 addq.w D7, 1
label0000019E:
0000019E 48C7 ext.l D7
000001A0 7019 moveq.l D0, 0x19
000001A2 B087 cmp.l D0, D7
000001A4 6EF4 bgt -0xA /* 0000019A */
000001A6 2E1F move.l D7, [A7]+
000001A8 4E75 rts
fn000001AA:
000001AA 2F0B move.l -[A7], A3
000001AC 598F subq.l A7, 4
000001AE 3F3C 03E8 move.w -[A7], 0x3E8
000001B2 A9C0 syscall GetNewMBar
000001B4 265F movea.l A3, [A7]+
000001B6 200B move.l D0, A3
000001B8 6614 bne +0x16 /* 000001CE */
000001BA 486D DF82 pea.l [A5 - 0x207E]
000001BE 558F subq.l A7, 2
000001C0 A9AF syscall ResError
000001C2 301F move.w D0, [A7]+
000001C4 48C0 ext.l D0
000001C6 2F00 move.l -[A7], D0
000001C8 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000001CC 508F addq.l A7, 8
label000001CE:
000001CE 2F0B move.l -[A7], A3
000001D0 A93C syscall SetMenuBar
000001D2 2F0B move.l -[A7], A3
000001D4 205F movea.l A0, [A7]+
000001D6 A023 syscall DisposHandle/DisposeHandle
000001D8 598F subq.l A7, 4
000001DA 3F3C 03E8 move.w -[A7], 0x3E8
000001DE A949 syscall GetMenuHandle
000001E0 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
000001E6 A94D syscall AppendResMenu/AddResMenu
000001E8 A937 syscall DrawMenuBar
000001EA 265F movea.l A3, [A7]+
000001EC 4E75 rts
fn000001EE:
000001EE 598F subq.l A7, 4
000001F0 4878 108C push.l 0x108C
000001F4 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
000001F8 2B5F D8FA move.l [A5 - 0x2706], [A7]+
000001FC 598F subq.l A7, 4
000001FE 4878 108C push.l 0x108C
00000202 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00000206 2B5F D8F6 move.l [A5 - 0x270A], [A7]+
0000020A 598F subq.l A7, 4
0000020C 4878 108C push.l 0x108C
00000210 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00000214 2B5F D8EE move.l [A5 - 0x2712], [A7]+
00000218 4AAD D8FA tst.l [A5 - 0x2706]
0000021C 670C beq +0xE /* 0000022A */
0000021E 4AAD D8F6 tst.l [A5 - 0x270A]
00000222 6706 beq +0x8 /* 0000022A */
00000224 4AAD D8EE tst.l [A5 - 0x2712]
00000228 6612 bne +0x14 /* 0000023C */
label0000022A:
0000022A 486D DF8E pea.l [A5 - 0x2072]
0000022E 3038 0220 move.w D0, [0x00000220 /* MemErr */]
00000232 48C0 ext.l D0
00000234 2F00 move.l -[A7], D0
00000236 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
0000023A 508F addq.l A7, 8
label0000023C:
0000023C 422D D878 clr.b [A5 - 0x2788]
00000240 4EBA 0720 jsr [PC + 0x720 /* 00000962 */]
00000244 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
00000248 4E75 rts
fn0000024A:
0000024A 598F subq.l A7, 4
0000024C 4878 009C push.l 0x9C
00000250 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00000254 2B5F D924 move.l [A5 - 0x26DC], [A7]+
00000258 6612 bne +0x14 /* 0000026C */
0000025A 486D DF96 pea.l [A5 - 0x206A]
0000025E 3038 0220 move.w D0, [0x00000220 /* MemErr */]
00000262 48C0 ext.l D0
00000264 2F00 move.l -[A7], D0
00000266 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
0000026A 508F addq.l A7, 8
label0000026C:
0000026C 4A2D D48E tst.b [A5 - 0x2B72]
00000270 6716 beq +0x18 /* 00000288 */
00000272 598F subq.l A7, 4
00000274 3F3C 03E8 move.w -[A7], 0x3E8
00000278 2F2D D924 move.l -[A7], [A5 - 0x26DC]
0000027C 70FF moveq.l D0, 0xFFFFFFFF
0000027E 2F00 move.l -[A7], D0
00000280 AA46 syscall GetNewCWindow
00000282 2B5F D924 move.l [A5 - 0x26DC], [A7]+
00000286 6014 bra +0x16 /* 0000029C */
label00000288:
00000288 598F subq.l A7, 4
0000028A 3F3C 03E8 move.w -[A7], 0x3E8
0000028E 2F2D D924 move.l -[A7], [A5 - 0x26DC]
00000292 70FF moveq.l D0, 0xFFFFFFFF
00000294 2F00 move.l -[A7], D0
00000296 A9BD syscall GetNewWindow
00000298 2B5F D924 move.l [A5 - 0x26DC], [A7]+
label0000029C:
0000029C 4AAD D924 tst.l [A5 - 0x26DC]
000002A0 6614 bne +0x16 /* 000002B6 */
000002A2 486D DFA6 pea.l [A5 - 0x205A]
000002A6 558F subq.l A7, 2
000002A8 A9AF syscall ResError
000002AA 301F move.w D0, [A7]+
000002AC 48C0 ext.l D0
000002AE 2F00 move.l -[A7], D0
000002B0 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000002B4 508F addq.l A7, 8
label000002B6:
000002B6 486D DFBE pea.l [A5 - 0x2042]
000002BA A874 syscall GetPort
000002BC 2F2D D924 move.l -[A7], [A5 - 0x26DC]
000002C0 A873 syscall SetPort
000002C2 3F3C 18B2 move.w -[A7], 0x18B2
000002C6 A887 syscall TextFont
000002C8 700E moveq.l D0, 0x0E
000002CA 3F00 move.w -[A7], D0
000002CC A88A syscall TextSize
000002CE 7001 moveq.l D0, 0x01
000002D0 3F00 move.w -[A7], D0
000002D2 A888 syscall TextFace
000002D4 7001 moveq.l D0, 0x01
000002D6 2F00 move.l -[A7], D0
000002D8 7200 moveq.l D1, 0x00
000002DA 122D D912 move.b D1, [A5 - 0x26EE]
000002DE 2F01 move.l -[A7], D1
000002E0 2F2D D924 move.l -[A7], [A5 - 0x26DC]
000002E4 4EAD 0732 jsr [A5 + 0x732 /* export_226 */]
000002E8 4FEF 000C lea.l A7, [A7 + 0xC]
000002EC 4E75 rts
fn000002EE:
000002EE 4E56 FCF0 link A6, -0x0310
000002F2 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000002F6 49EE FF00 lea.l A4, [A6 - 0x100]
000002FA 47EE FE00 lea.l A3, [A6 - 0x200]
000002FE 558F subq.l A7, 2
00000300 2F0C move.l -[A7], A4
00000302 486D D204 pea.l [A5 - 0x2DFC]
00000306 486D D206 pea.l [A5 - 0x2DFA]
0000030A 4EAD 03B2 jsr [A5 + 0x3B2 /* export_114 */]
0000030E 486D D20A pea.l [A5 - 0x2DF6]
00000312 3F3C 0BB8 move.w -[A7], 0xBB8
00000316 7005 moveq.l D0, 0x05
00000318 3F00 move.w -[A7], D0
0000031A 4EAD 0402 jsr [A5 + 0x402 /* export_124 */]
0000031E 302D DFC2 move.w D0, [A5 - 0x203E]
00000322 48C0 ext.l D0
00000324 548F addq.l A7, 2
00000326 6600 00EE bne +0xF0 /* 00000416 */
0000032A 486E FDFE pea.l [A6 - 0x202]
0000032E 486E FCF4 pea.l [A6 - 0x30C]
00000332 4EAD 038A jsr [A5 + 0x38A /* export_109 */]
00000336 302E FDFE move.w D0, [A6 - 0x202]
0000033A 48C0 ext.l D0
0000033C 7201 moveq.l D1, 0x01
0000033E B280 cmp.l D1, D0
00000340 6618 bne +0x1A /* 0000035A */
00000342 2F0B move.l -[A7], A3
00000344 3F3C 0BB8 move.w -[A7], 0xBB8
00000348 7008 moveq.l D0, 0x08
0000034A 3F00 move.w -[A7], D0
0000034C 4EAD 0402 jsr [A5 + 0x402 /* export_124 */]
00000350 2F0B move.l -[A7], A3
00000352 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
00000356 A9F4 syscall ExitToShell
00000358 588F addq.l A7, 4
label0000035A:
0000035A 422D D900 clr.b [A5 - 0x2700]
0000035E 7E01 moveq.l D7, 0x01
00000360 6000 00A6 bra +0xA8 /* 00000408 */
label00000364:
00000364 3F07 move.w -[A7], D7
00000366 486E FCF6 pea.l [A6 - 0x30A]
0000036A 4EAD 0392 jsr [A5 + 0x392 /* export_110 */]
0000036E 3F07 move.w -[A7], D7
00000370 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00000374 0CAE 4F52 4346 FCF8 cmpi.l [A6 - 0x308], 0x4F524346 /* 'ORCF' */
0000037C 6630 bne +0x32 /* 000003AE */
0000037E 558F subq.l A7, 2
00000380 3F2E FCF6 move.w -[A7], [A6 - 0x30A]
00000384 486D D204 pea.l [A5 - 0x2DFC]
00000388 486D D206 pea.l [A5 - 0x2DFA]
0000038C 486E FCF0 pea.l [A6 - 0x310]
00000390 4EAD 03E2 jsr [A5 + 0x3E2 /* export_120 */]
00000394 3C1F move.w D6, [A7]+
00000396 486E FCFE pea.l [A6 - 0x302]
0000039A 486D D20A pea.l [A5 - 0x2DF6]
0000039E 7000 moveq.l D0, 0x00
000003A0 102E FCFE move.b D0, [A6 - 0x302]
000003A4 5280 addq.l D0, 1
000003A6 2F00 move.l -[A7], D0
000003A8 4EAD 02CA jsr [A5 + 0x2CA /* export_85 */]
000003AC 6068 bra +0x6A /* 00000416 */
label000003AE:
000003AE 0CAE 5757 4443 FCF8 cmpi.l [A6 - 0x308], 0x57574443 /* 'WWDC' */
000003B6 670A beq +0xC /* 000003C2 */
000003B8 0CAE 4F52 4443 FCF8 cmpi.l [A6 - 0x308], 0x4F524443 /* 'ORDC' */
000003C0 6642 bne +0x44 /* 00000404 */
label000003C2:
000003C2 3F07 move.w -[A7], D7
000003C4 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
000003C8 558F subq.l A7, 2
000003CA 3F2E FCF6 move.w -[A7], [A6 - 0x30A]
000003CE 486D D24A pea.l [A5 - 0x2DB6]
000003D2 486D D24C pea.l [A5 - 0x2DB4]
000003D6 486E FCF0 pea.l [A6 - 0x310]
000003DA 4EAD 03E2 jsr [A5 + 0x3E2 /* export_120 */]
000003DE 3C1F move.w D6, [A7]+
000003E0 486E FCFE pea.l [A6 - 0x302]
000003E4 486D D250 pea.l [A5 - 0x2DB0]
000003E8 7000 moveq.l D0, 0x00
000003EA 102E FCFE move.b D0, [A6 - 0x302]
000003EE 5280 addq.l D0, 1
000003F0 2F00 move.l -[A7], D0
000003F2 4EAD 02CA jsr [A5 + 0x2CA /* export_85 */]
000003F6 2B6E FCF8 D200 move.l [A5 - 0x2E00], [A6 - 0x308]
000003FC 1B7C 0001 D900 move.b [A5 - 0x2700], 0x1
00000402 6012 bra +0x14 /* 00000416 */
label00000404:
00000404 3007 move.w D0, D7
00000406 5247 addq.w D7, 1
label00000408:
00000408 48C7 ext.l D7
0000040A 302E FCF4 move.w D0, [A6 - 0x30C]
0000040E 48C0 ext.l D0
00000410 B087 cmp.l D0, D7
00000412 6C00 FF50 bge -0xAE /* 00000364 */
label00000416:
00000416 4CEE 18C0 FCE0 movem.l D6,D7,A3,A4, [A6 - 0x320]
0000041C 4E5E unlink A6
0000041E 4E75 rts
fn00000420:
00000420 4E56 FF00 link A6, -0x0100
00000424 48E7 0110 movem.l -[A7], D7,A3
00000428 47EE FF00 lea.l A3, [A6 - 0x100]
0000042C 422D D912 clr.b [A5 - 0x26EE]
00000430 4A2D D91D tst.b [A5 - 0x26E3]
00000434 674A beq +0x4C /* 00000480 */
00000436 2F0B move.l -[A7], A3
00000438 3F3C 0BB8 move.w -[A7], 0xBB8
0000043C 7006 moveq.l D0, 0x06
0000043E 3F00 move.w -[A7], D0
00000440 4EAD 0402 jsr [A5 + 0x402 /* export_124 */]
00000444 558F subq.l A7, 2
00000446 2F0B move.l -[A7], A3
00000448 7000 moveq.l D0, 0x00
0000044A 3F00 move.w -[A7], D0
0000044C 7201 moveq.l D1, 0x01
0000044E 1F01 move.b -[A7], D1
00000450 A9C4 syscall OpenRFPerm
00000452 3E1F move.w D7, [A7]+
00000454 48C7 ext.l D7
00000456 70FF moveq.l D0, 0xFFFFFFFF
00000458 B087 cmp.l D0, D7
0000045A 6616 bne +0x18 /* 00000472 */
0000045C 2F0B move.l -[A7], A3
0000045E 3F3C 0BB8 move.w -[A7], 0xBB8
00000462 7007 moveq.l D0, 0x07
00000464 3F00 move.w -[A7], D0
00000466 4EAD 0402 jsr [A5 + 0x402 /* export_124 */]
0000046A 558F subq.l A7, 2
0000046C 2F0B move.l -[A7], A3
0000046E A997 syscall OpenResFile
00000470 3E1F move.w D7, [A7]+
label00000472:
00000472 48C7 ext.l D7
00000474 70FF moveq.l D0, 0xFFFFFFFF
00000476 B087 cmp.l D0, D7
00000478 56C0 sne D0
0000047A 4400 neg.b D0
0000047C 1B40 D912 move.b [A5 - 0x26EE], D0
label00000480:
00000480 4CEE 0880 FEF8 movem.l D7,A3, [A6 - 0x108]
00000486 4E5E unlink A6
00000488 4E75 rts
fn0000048A:
0000048A 4EBA 060C jsr [PC + 0x60C /* 00000A98 */]
0000048E 48C0 ext.l D0
00000490 6706 beq +0x8 /* 00000498 */
00000492 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
00000496 A9F4 syscall ExitToShell
label00000498:
00000498 4E75 rts
fn0000049A:
0000049A 302D D918 move.w D0, [A5 - 0x26E8]
0000049E 48C0 ext.l D0
000004A0 0C80 0000 0605 cmpi.l D0, 0x605
000004A6 6C04 bge +0x6 /* 000004AC */
000004A8 7000 moveq.l D0, 0x00
000004AA 600C bra +0xE /* 000004B8 */
label000004AC:
000004AC 2F3C 0000 A1AD move.l -[A7], 0xA1AD
000004B2 4EBA 001A jsr [PC + 0x1A /* 000004CE */]
000004B6 588F addq.l A7, 4
label000004B8:
000004B8 4E75 rts
fn000004BA:
000004BA 322F 0006 move.w D1, [A7 + 0x6]
000004BE 48C1 ext.l D1
000004C0 243C 0000 0800 move.l D2, 0x800
000004C6 C481 and.l D2, D1
000004C8 56C0 sne D0
000004CA 4400 neg.b D0
000004CC 4E75 rts
fn000004CE:
000004CE 48E7 0700 movem.l -[A7], D5,D6,D7
000004D2 3E2F 0012 move.w D7, [A7 + 0x12]
000004D6 48C7 ext.l D7
000004D8 2F07 move.l -[A7], D7
000004DA 4EBA FFDE jsr [PC - 0x22 /* 000004BA */]
000004DE 1C00 move.b D6, D0
000004E0 7000 moveq.l D0, 0x00
000004E2 1006 move.b D0, D6
000004E4 7201 moveq.l D1, 0x01
000004E6 B280 cmp.l D1, D0
000004E8 588F addq.l A7, 4
000004EA 663A bne +0x3C /* 00000526 */
000004EC 0247 07FF andi.w D7, 0x7FF
000004F0 598F subq.l A7, 4
000004F2 3F3C A86E move.w -[A7], 0xA86E
000004F6 1F06 move.b -[A7], D6
000004F8 4EAD 02D2 jsr [A5 + 0x2D2 /* export_86 */]
000004FC 598F subq.l A7, 4
000004FE 3F3C AA6E move.w -[A7], 0xAA6E
00000502 7001 moveq.l D0, 0x01
00000504 1F00 move.b -[A7], D0
00000506 4EAD 02D2 jsr [A5 + 0x2D2 /* export_86 */]
0000050A 201F move.l D0, [A7]+
0000050C B09F cmp.l D0, [A7]+
0000050E 6606 bne +0x8 /* 00000516 */
00000510 3A3C 0200 move.w D5, 0x200
00000514 6004 bra +0x6 /* 0000051A */
label00000516:
00000516 3A3C 0400 move.w D5, 0x400
label0000051A:
0000051A 48C7 ext.l D7
0000051C 48C5 ext.l D5
0000051E BA87 cmp.l D5, D7
00000520 6E04 bgt +0x6 /* 00000526 */
00000522 3E3C A89F move.w D7, 0xA89F
label00000526:
00000526 598F subq.l A7, 4
00000528 3F07 move.w -[A7], D7
0000052A 1F06 move.b -[A7], D6
0000052C 4EAD 02D2 jsr [A5 + 0x2D2 /* export_86 */]
00000530 598F subq.l A7, 4
00000532 3F3C A89F move.w -[A7], 0xA89F
00000536 7001 moveq.l D0, 0x01
00000538 1F00 move.b -[A7], D0
0000053A 4EAD 02D2 jsr [A5 + 0x2D2 /* export_86 */]
0000053E 201F move.l D0, [A7]+
00000540 B09F cmp.l D0, [A7]+
00000542 56C0 sne D0
00000544 4400 neg.b D0
00000546 4CDF 00E0 movem.l D5,D6,D7, [A7]+
0000054A 4E75 rts
fn0000054C:
0000054C 4E56 FEEC link A6, -0x0114
00000550 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000554 47EE FF00 lea.l A3, [A6 - 0x100]
00000558 598F subq.l A7, 4
0000055A 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
00000560 3F3C 03E8 move.w -[A7], 0x3E8
00000564 A9A0 syscall GetResource
00000566 285F movea.l A4, [A7]+
00000568 598F subq.l A7, 4
0000056A 2F3C 4449 544C move.l -[A7], 0x4449544C /* 'DITL' */
00000570 3F3C 03E8 move.w -[A7], 0x3E8
00000574 A9A0 syscall GetResource
00000576 285F movea.l A4, [A7]+
00000578 598F subq.l A7, 4
0000057A 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00000580 3F3C 03E8 move.w -[A7], 0x3E8
00000584 A9A0 syscall GetResource
00000586 285F movea.l A4, [A7]+
00000588 598F subq.l A7, 4
0000058A 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
00000590 3F3C 07D3 move.w -[A7], 0x7D3
00000594 A9A0 syscall GetResource
00000596 285F movea.l A4, [A7]+
00000598 598F subq.l A7, 4
0000059A 2F3C 4449 544C move.l -[A7], 0x4449544C /* 'DITL' */
000005A0 3F3C 07D3 move.w -[A7], 0x7D3
000005A4 A9A0 syscall GetResource
000005A6 285F movea.l A4, [A7]+
000005A8 598F subq.l A7, 4
000005AA 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
000005B0 3F3C 03E8 move.w -[A7], 0x3E8
000005B4 A9A0 syscall GetResource
000005B6 2D5F FEF0 move.l [A6 - 0x110], [A7]+
000005BA 598F subq.l A7, 4
000005BC 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
000005C2 3F3C 03E9 move.w -[A7], 0x3E9
000005C6 A9A0 syscall GetResource
000005C8 285F movea.l A4, [A7]+
000005CA 4AAE FEF0 tst.l [A6 - 0x110]
000005CE 6704 beq +0x6 /* 000005D4 */
000005D0 200C move.l D0, A4
000005D2 6614 bne +0x16 /* 000005E8 */
label000005D4:
000005D4 486D E0A8 pea.l [A5 - 0x1F58]
000005D8 558F subq.l A7, 2
000005DA A9AF syscall ResError
000005DC 301F move.w D0, [A7]+
000005DE 48C0 ext.l D0
000005E0 2F00 move.l -[A7], D0
000005E2 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000005E6 508F addq.l A7, 8
label000005E8:
000005E8 2F2E FEF0 move.l -[A7], [A6 - 0x110]
000005EC 205F movea.l A0, [A7]+
000005EE A04A syscall HNoPurge
000005F0 2F0C move.l -[A7], A4
000005F2 205F movea.l A0, [A7]+
000005F4 A04A syscall HNoPurge
000005F6 598F subq.l A7, 4
000005F8 2F3C 4D45 4343 move.l -[A7], 0x4D454343 /* 'MECC' */
000005FE 7000 moveq.l D0, 0x00
00000600 3F00 move.w -[A7], D0
00000602 A9A0 syscall GetResource
00000604 2D5F FEF0 move.l [A6 - 0x110], [A7]+
00000608 598F subq.l A7, 4
0000060A 2F3C 4D45 4343 move.l -[A7], 0x4D454343 /* 'MECC' */
00000610 7002 moveq.l D0, 0x02
00000612 3F00 move.w -[A7], D0
00000614 A9A0 syscall GetResource
00000616 285F movea.l A4, [A7]+
00000618 598F subq.l A7, 4
0000061A 2F3C 4D45 4343 move.l -[A7], 0x4D454343 /* 'MECC' */
00000620 7004 moveq.l D0, 0x04
00000622 3F00 move.w -[A7], D0
00000624 A9A0 syscall GetResource
00000626 2D5F FEF4 move.l [A6 - 0x10C], [A7]+
0000062A 4AAE FEF0 tst.l [A6 - 0x110]
0000062E 670A beq +0xC /* 0000063A */
00000630 200C move.l D0, A4
00000632 6706 beq +0x8 /* 0000063A */
00000634 4AAE FEF4 tst.l [A6 - 0x10C]
00000638 6614 bne +0x16 /* 0000064E */
label0000063A:
0000063A 486D E0B6 pea.l [A5 - 0x1F4A]
0000063E 558F subq.l A7, 2
00000640 A9AF syscall ResError
00000642 301F move.w D0, [A7]+
00000644 48C0 ext.l D0
00000646 2F00 move.l -[A7], D0
00000648 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
0000064C 508F addq.l A7, 8
label0000064E:
0000064E 2F2E FEF0 move.l -[A7], [A6 - 0x110]
00000652 205F movea.l A0, [A7]+
00000654 A04A syscall HNoPurge
00000656 2F0C move.l -[A7], A4
00000658 205F movea.l A0, [A7]+
0000065A A04A syscall HNoPurge
0000065C 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
00000660 205F movea.l A0, [A7]+
00000662 A04A syscall HNoPurge
00000664 4EAD 04C2 jsr [A5 + 0x4C2 /* export_148 */]
00000668 486D 04AA pea.l [A5 + 0x4AA /* export_145 */]
0000066C A9F1 syscall UnloadSeg
0000066E 2078 02AA movea.l A0, [0x000002AA /* ApplZone */]
00000672 2010 move.l D0, [A0]
00000674 90B8 02AA sub.l D0, [0x000002AA /* ApplZone */]
00000678 0C80 0004 B000 cmpi.l D0, 0x4B000
0000067E 640E bcc +0x10 /* 0000068E */
00000680 486D E0C4 pea.l [A5 - 0x1F3C]
00000684 7094 moveq.l D0, 0xFFFFFF94
00000686 2F00 move.l -[A7], D0
00000688 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
0000068C 508F addq.l A7, 8
label0000068E:
0000068E 486E FEF8 pea.l [A6 - 0x108]
00000692 486E FEEC pea.l [A6 - 0x114]
00000696 4EAD 03A2 jsr [A5 + 0x3A2 /* export_112 */]
0000069A 0CAE 0004 B000 FEF8 cmpi.l [A6 - 0x108], 0x4B000
000006A2 6C0E bge +0x10 /* 000006B2 */
000006A4 486D E0CE pea.l [A5 - 0x1F32]
000006A8 7094 moveq.l D0, 0xFFFFFF94
000006AA 2F00 move.l -[A7], D0
000006AC 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000006B0 508F addq.l A7, 8
label000006B2:
000006B2 598F subq.l A7, 4
000006B4 4878 5000 push.l 0x5000 /* 'P\0' */
000006B8 4EAD 02A2 jsr [A5 + 0x2A2 /* export_80 */]
000006BC 2B5F E0FE move.l [A5 - 0x1F02], [A7]+
000006C0 660E bne +0x10 /* 000006D0 */
000006C2 486D E0D8 pea.l [A5 - 0x1F28]
000006C6 7094 moveq.l D0, 0xFFFFFF94
000006C8 2F00 move.l -[A7], D0
000006CA 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000006CE 508F addq.l A7, 8
label000006D0:
000006D0 486D 0152 pea.l [A5 + 0x152 /* export_38 */]
000006D4 205F movea.l A0, [A7]+
000006D6 A04B syscall SetGrowZone
000006D8 558F subq.l A7, 2
000006DA 7001 moveq.l D0, 0x01
000006DC 3F00 move.w -[A7], D0
000006DE 486D D914 pea.l [A5 - 0x26EC]
000006E2 4EAD 040A jsr [A5 + 0x40A /* export_125 */]
000006E6 4EBA FDB2 jsr [PC - 0x24E /* 0000049A */]
000006EA 7200 moveq.l D1, 0x00
000006EC 1200 move.b D1, D0
000006EE 548F addq.l A7, 2
000006F0 662C bne +0x2E /* 0000071E */
000006F2 302D D918 move.w D0, [A5 - 0x26E8]
000006F6 48C0 ext.l D0
000006F8 0C80 0000 0602 cmpi.l D0, 0x602
000006FE 6C00 0136 bge +0x138 /* 00000836 */
00000702 2F0B move.l -[A7], A3
00000704 3F3C 03E9 move.w -[A7], 0x3E9
00000708 7004 moveq.l D0, 0x04
0000070A 3F00 move.w -[A7], D0
0000070C 4EAD 0402 jsr [A5 + 0x402 /* export_124 */]
00000710 2F0B move.l -[A7], A3
00000712 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
00000716 A9F4 syscall ExitToShell
00000718 588F addq.l A7, 4
0000071A 6000 011A bra +0x11C /* 00000836 */
label0000071E:
0000071E 558F subq.l A7, 2
00000720 2F3C 6576 6E74 move.l -[A7], 0x65766E74 /* 'evnt' */
00000726 486E FEFC pea.l [A6 - 0x104]
0000072A 4EAD 0412 jsr [A5 + 0x412 /* export_126 */]
0000072E 301F move.w D0, [A7]+
00000730 48C0 ext.l D0
00000732 2E00 move.l D7, D0
00000734 7001 moveq.l D0, 0x01
00000736 C0AE FEFC and.l D0, [A6 - 0x104]
0000073A 3B40 DFC2 move.w [A5 - 0x203E], D0
0000073E 558F subq.l A7, 2
00000740 2F3C 6D61 6368 move.l -[A7], 0x6D616368 /* 'mach' */
00000746 486E FEFC pea.l [A6 - 0x104]
0000074A 4EAD 0412 jsr [A5 + 0x412 /* export_126 */]
0000074E 301F move.w D0, [A7]+
00000750 48C0 ext.l D0
00000752 2E00 move.l D7, D0
00000754 202E FEFC move.l D0, [A6 - 0x104]
00000758 5580 subq.l D0, 2
0000075A 3B40 D916 move.w [A5 - 0x26EA], D0
0000075E 558F subq.l A7, 2
00000760 2F3C 7072 6F63 move.l -[A7], 0x70726F63 /* 'proc' */
00000766 486E FEFC pea.l [A6 - 0x104]
0000076A 4EAD 0412 jsr [A5 + 0x412 /* export_126 */]
0000076E 301F move.w D0, [A7]+
00000770 48C0 ext.l D0
00000772 2E00 move.l D7, D0
00000774 3B6E FEFE D91A move.w [A5 - 0x26E6], [A6 - 0x102]
0000077A 558F subq.l A7, 2
0000077C 2F3C 7379 7376 move.l -[A7], 0x73797376 /* 'sysv' */
00000782 486E FEFC pea.l [A6 - 0x104]
00000786 4EAD 0412 jsr [A5 + 0x412 /* export_126 */]
0000078A 301F move.w D0, [A7]+
0000078C 48C0 ext.l D0
0000078E 2E00 move.l D7, D0
00000790 3B6E FEFE D918 move.w [A5 - 0x26E8], [A6 - 0x102]
00000796 558F subq.l A7, 2
00000798 2F3C 6174 6C6B move.l -[A7], 0x61746C6B /* 'atlk' */
0000079E 486E FEFC pea.l [A6 - 0x104]
000007A2 4EAD 0412 jsr [A5 + 0x412 /* export_126 */]
000007A6 301F move.w D0, [A7]+
000007A8 48C0 ext.l D0
000007AA 2E00 move.l D7, D0
000007AC 3B6E FEFE D920 move.w [A5 - 0x26E0], [A6 - 0x102]
000007B2 558F subq.l A7, 2
000007B4 2F3C 7164 2020 move.l -[A7], 0x71642020 /* 'qd ' */
000007BA 486E FEFC pea.l [A6 - 0x104]
000007BE 4EAD 0412 jsr [A5 + 0x412 /* export_126 */]
000007C2 301F move.w D0, [A7]+
000007C4 48C0 ext.l D0
000007C6 2E00 move.l D7, D0
000007C8 0CAE 0000 0100 FEFC cmpi.l [A6 - 0x104], 0x100
000007D0 5CC0 sge D0
000007D2 4400 neg.b D0
000007D4 1B40 D91D move.b [A5 - 0x26E3], D0
000007D8 302D D918 move.w D0, [A5 - 0x26E8]
000007DC 48C0 ext.l D0
000007DE 0C80 0000 0602 cmpi.l D0, 0x602
000007E4 6C18 bge +0x1A /* 000007FE */
000007E6 2F0B move.l -[A7], A3
000007E8 3F3C 03E9 move.w -[A7], 0x3E9
000007EC 7004 moveq.l D0, 0x04
000007EE 3F00 move.w -[A7], D0
000007F0 4EAD 0402 jsr [A5 + 0x402 /* export_124 */]
000007F4 2F0B move.l -[A7], A3
000007F6 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
000007FA A9F4 syscall ExitToShell
000007FC 588F addq.l A7, 4
label000007FE:
000007FE 558F subq.l A7, 2
00000800 2F3C 706F 7772 move.l -[A7], 0x706F7772 /* 'powr' */
00000806 486E FEFC pea.l [A6 - 0x104]
0000080A 4EAD 0412 jsr [A5 + 0x412 /* export_126 */]
0000080E 301F move.w D0, [A7]+
00000810 48C0 ext.l D0
00000812 2E00 move.l D7, D0
00000814 6620 bne +0x22 /* 00000836 */
00000816 7001 moveq.l D0, 0x01
00000818 C0AE FEFC and.l D0, [A6 - 0x104]
0000081C 2B40 D90E move.l [A5 - 0x26F2], D0
00000820 6714 beq +0x16 /* 00000836 */
00000822 7002 moveq.l D0, 0x02
00000824 C0AE FEFC and.l D0, [A6 - 0x104]
00000828 2B40 D90A move.l [A5 - 0x26F6], D0
0000082C 7004 moveq.l D0, 0x04
0000082E C0AE FEFC and.l D0, [A6 - 0x104]
00000832 2B40 D906 move.l [A5 - 0x26FA], D0
label00000836:
00000836 302D D916 move.w D0, [A5 - 0x26EA]
0000083A 48C0 ext.l D0
0000083C 6C18 bge +0x1A /* 00000856 */
0000083E 2F0B move.l -[A7], A3
00000840 3F3C 03E9 move.w -[A7], 0x3E9
00000844 7005 moveq.l D0, 0x05
00000846 3F00 move.w -[A7], D0
00000848 4EAD 0402 jsr [A5 + 0x402 /* export_124 */]
0000084C 2F0B move.l -[A7], A3
0000084E 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
00000852 A9F4 syscall ExitToShell
00000854 588F addq.l A7, 4
label00000856:
00000856 4EBA 04EA jsr [PC + 0x4EA /* 00000D42 */]
0000085A 3C00 move.w D6, D0
0000085C 48C0 ext.l D0
0000085E 670C beq +0xE /* 0000086C */
00000860 48C6 ext.l D6
00000862 2F06 move.l -[A7], D6
00000864 4EBA 05BE jsr [PC + 0x5BE /* 00000E24 */]
00000868 A9F4 syscall ExitToShell
0000086A 588F addq.l A7, 4
label0000086C:
0000086C 4CEE 18C0 FEDC movem.l D6,D7,A3,A4, [A6 - 0x124]
00000872 4E5E unlink A6
00000874 4E75 rts
fn00000876:
00000876 598F subq.l A7, 4
00000878 4878 0410 push.l 0x410
0000087C 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00000880 2B5F E298 move.l [A5 - 0x1D68], [A7]+
00000884 660E bne +0x10 /* 00000894 */
00000886 486D E102 pea.l [A5 - 0x1EFE]
0000088A 7001 moveq.l D0, 0x01
0000088C 2F00 move.l -[A7], D0
0000088E 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000892 508F addq.l A7, 8
label00000894:
00000894 206D E298 movea.l A0, [A5 - 0x1D68]
00000898 41E8 0400 lea.l A0, [A0 + 0x400]
0000089C 2B48 E2A0 move.l [A5 - 0x1D60], A0
000008A0 598F subq.l A7, 4
000008A2 4878 0110 push.l 0x110
000008A6 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
000008AA 2B5F E28A move.l [A5 - 0x1D76], [A7]+
000008AE 660E bne +0x10 /* 000008BE */
000008B0 486D E114 pea.l [A5 - 0x1EEC]
000008B4 7002 moveq.l D0, 0x02
000008B6 2F00 move.l -[A7], D0
000008B8 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000008BC 508F addq.l A7, 8
label000008BE:
000008BE 206D E28A movea.l A0, [A5 - 0x1D76]
000008C2 41E8 0100 lea.l A0, [A0 + 0x100]
000008C6 2B48 E292 move.l [A5 - 0x1D6E], A0
000008CA 41ED E298 lea.l A0, [A5 - 0x1D68]
000008CE 2B48 E286 move.l [A5 - 0x1D7A], A0
000008D2 598F subq.l A7, 4
000008D4 4878 2810 push.l 0x2810
000008D8 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
000008DC 2B5F E264 move.l [A5 - 0x1D9C], [A7]+
000008E0 2B6D E264 E260 move.l [A5 - 0x1DA0], [A5 - 0x1D9C]
000008E6 660E bne +0x10 /* 000008F6 */
000008E8 486D E126 pea.l [A5 - 0x1EDA]
000008EC 7003 moveq.l D0, 0x03
000008EE 2F00 move.l -[A7], D0
000008F0 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000008F4 508F addq.l A7, 8
label000008F6:
000008F6 598F subq.l A7, 4
000008F8 4878 0844 push.l 0x844
000008FC 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00000900 2B5F E278 move.l [A5 - 0x1D88], [A7]+
00000904 2B6D E278 E258 move.l [A5 - 0x1DA8], [A5 - 0x1D88]
0000090A 660E bne +0x10 /* 0000091A */
0000090C 486D E138 pea.l [A5 - 0x1EC8]
00000910 7004 moveq.l D0, 0x04
00000912 2F00 move.l -[A7], D0
00000914 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000918 508F addq.l A7, 8
label0000091A:
0000091A 598F subq.l A7, 4
0000091C 4878 0844 push.l 0x844
00000920 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00000924 2B5F E27E move.l [A5 - 0x1D82], [A7]+
00000928 2B6D E27E E25C move.l [A5 - 0x1DA4], [A5 - 0x1D82]
0000092E 660E bne +0x10 /* 0000093E */
00000930 486D E14A pea.l [A5 - 0x1EB6]
00000934 7005 moveq.l D0, 0x05
00000936 2F00 move.l -[A7], D0
00000938 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
0000093C 508F addq.l A7, 8
label0000093E:
0000093E 598F subq.l A7, 4
00000940 4878 1330 push.l 0x1330
00000944 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00000948 2B5F E240 move.l [A5 - 0x1DC0], [A7]+
0000094C 660E bne +0x10 /* 0000095C */
0000094E 486D E15C pea.l [A5 - 0x1EA4]
00000952 7006 moveq.l D0, 0x06
00000954 2F00 move.l -[A7], D0
00000956 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
0000095A 508F addq.l A7, 8
label0000095C:
0000095C 4EAD 0B6A jsr [A5 + 0xB6A /* export_361 */]
00000960 4E75 rts
fn00000962:
00000962 48E7 0300 movem.l -[A7], D6,D7
00000966 206D D8EE movea.l A0, [A5 - 0x2712]
0000096A 4228 0005 clr.b [A0 + 0x5]
0000096E 206D D8F6 movea.l A0, [A5 - 0x270A]
00000972 4228 0005 clr.b [A0 + 0x5]
00000976 206D D8FA movea.l A0, [A5 - 0x2706]
0000097A 4228 0005 clr.b [A0 + 0x5]
0000097E 598F subq.l A7, 4
00000980 7030 moveq.l D0, 0x30
00000982 2F00 move.l -[A7], D0
00000984 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00000988 2B5F E3DA move.l [A5 - 0x1C26], [A7]+
0000098C 6612 bne +0x14 /* 000009A0 */
0000098E 486D E2C0 pea.l [A5 - 0x1D40]
00000992 3038 0220 move.w D0, [0x00000220 /* MemErr */]
00000996 48C0 ext.l D0
00000998 2F00 move.l -[A7], D0
0000099A 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
0000099E 508F addq.l A7, 8
label000009A0:
000009A0 426D E3DE clr.w [A5 - 0x1C22]
000009A4 4247 clr.w D7
000009A6 6020 bra +0x22 /* 000009C8 */
label000009A8:
000009A8 206D E3DA movea.l A0, [A5 - 0x1C26]
000009AC 48C7 ext.l D7
000009AE 2007 move.l D0, D7
000009B0 2200 move.l D1, D0
000009B2 C0FC 0006 mulu.w D0, 0x6
000009B6 4841 swap.w D1
000009B8 C2FC 0006 mulu.w D1, 0x6
000009BC 4841 swap.w D1
000009BE 4241 clr.w D1
000009C0 D081 add.l D0, D1
000009C2 4230 0800 clr.b [A0 + D0]
000009C6 5247 addq.w D7, 1
label000009C8:
000009C8 48C7 ext.l D7
000009CA 7008 moveq.l D0, 0x08
000009CC B087 cmp.l D0, D7
000009CE 6ED8 bgt -0x26 /* 000009A8 */
000009D0 598F subq.l A7, 4
000009D2 4878 101E push.l 0x101E
000009D6 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
000009DA 2B5F E3E4 move.l [A5 - 0x1C1C], [A7]+
000009DE 6612 bne +0x14 /* 000009F2 */
000009E0 486D E2CC pea.l [A5 - 0x1D34]
000009E4 3038 0220 move.w D0, [0x00000220 /* MemErr */]
000009E8 48C0 ext.l D0
000009EA 2F00 move.l -[A7], D0
000009EC 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000009F0 508F addq.l A7, 8
label000009F2:
000009F2 486D 0C12 pea.l [A5 + 0xC12 /* export_382 */]
000009F6 7001 moveq.l D0, 0x01
000009F8 2F00 move.l -[A7], D0
000009FA 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
000009FE 486D 0C22 pea.l [A5 + 0xC22 /* export_384 */]
00000A02 7002 moveq.l D0, 0x02
00000A04 2F00 move.l -[A7], D0
00000A06 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
00000A0A 486D 0C02 pea.l [A5 + 0xC02 /* export_380 */]
00000A0E 7007 moveq.l D0, 0x07
00000A10 2F00 move.l -[A7], D0
00000A12 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
00000A16 598F subq.l A7, 4
00000A18 7012 moveq.l D0, 0x12
00000A1A 2F00 move.l -[A7], D0
00000A1C 4EAD 028A jsr [A5 + 0x28A /* export_77 */]
00000A20 2B5F E3E0 move.l [A5 - 0x1C20], [A7]+
00000A24 4FEF 0018 lea.l A7, [A7 + 0x18]
00000A28 6612 bne +0x14 /* 00000A3C */
00000A2A 486D E2D8 pea.l [A5 - 0x1D28]
00000A2E 3038 0220 move.w D0, [0x00000220 /* MemErr */]
00000A32 48C0 ext.l D0
00000A34 2F00 move.l -[A7], D0
00000A36 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000A3A 508F addq.l A7, 8
label00000A3C:
00000A3C 200D move.l D0, A5
00000A3E 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00000A42 206D E3E0 movea.l A0, [A5 - 0x1C20]
00000A46 2080 move.l [A0], D0
00000A48 206D E3E0 movea.l A0, [A5 - 0x1C20]
00000A4C 317C 0001 0008 move.w [A0 + 0x8], 0x1
00000A52 41ED 0BCA lea.l A0, [A5 + 0xBCA /* export_373 */]
00000A56 226D E3E0 movea.l A1, [A5 - 0x1C20]
00000A5A 2348 000A move.l [A1 + 0xA], A0
00000A5E 206D E3E0 movea.l A0, [A5 - 0x1C20]
00000A62 317C 004B 000E move.w [A0 + 0xE], 0x4B /* 'K' */
00000A68 206D E3E0 movea.l A0, [A5 - 0x1C20]
00000A6C 4268 0010 clr.w [A0 + 0x10]
00000A70 558F subq.l A7, 2
00000A72 206D E3E0 movea.l A0, [A5 - 0x1C20]
00000A76 4868 0004 pea.l [A0 + 0x4]
00000A7A 205F movea.l A0, [A7]+
00000A7C A033 syscall VInstall
00000A7E 3E80 move.w [A7], D0
00000A80 3C1F move.w D6, [A7]+
00000A82 670E beq +0x10 /* 00000A92 */
00000A84 486D E2E4 pea.l [A5 - 0x1D1C]
00000A88 48C6 ext.l D6
00000A8A 2F06 move.l -[A7], D6
00000A8C 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000A90 508F addq.l A7, 8
label00000A92:
00000A92 4CDF 00C0 movem.l D6,D7, [A7]+
00000A96 4E75 rts
fn00000A98:
00000A98 48E7 0310 movem.l -[A7], D6,D7,A3
00000A9C 598F subq.l A7, 4
00000A9E 4878 3168 push.l 0x3168 /* '1h' */
00000AA2 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
00000AA6 2B5F E498 move.l [A5 - 0x1B68], [A7]+
00000AAA 6612 bne +0x14 /* 00000ABE */
00000AAC 486D E420 pea.l [A5 - 0x1BE0]
00000AB0 3038 0220 move.w D0, [0x00000220 /* MemErr */]
00000AB4 48C0 ext.l D0
00000AB6 2F00 move.l -[A7], D0
00000AB8 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000ABC 508F addq.l A7, 8
label00000ABE:
00000ABE 266D E498 movea.l A3, [A5 - 0x1B68]
00000AC2 4247 clr.w D7
00000AC4 6026 bra +0x28 /* 00000AEC */
label00000AC6:
00000AC6 4253 clr.w [A3]
00000AC8 422B 0002 clr.b [A3 + 0x2]
00000ACC 7000 moveq.l D0, 0x00
00000ACE 2740 0038 move.l [A3 + 0x38], D0
00000AD2 177C 0042 0048 move.b [A3 + 0x48], 0x42 /* 'B' */
00000AD8 177C 0001 0049 move.b [A3 + 0x49], 0x1
00000ADE 41EB 007A lea.l A0, [A3 + 0x7A]
00000AE2 2748 004A move.l [A3 + 0x4A], A0
00000AE6 5247 addq.w D7, 1
00000AE8 D6FC 02E8 add.w A3, 0x2E8
label00000AEC:
00000AEC 48C7 ext.l D7
00000AEE 7010 moveq.l D0, 0x10
00000AF0 B087 cmp.l D0, D7
00000AF2 6ED2 bgt -0x2C /* 00000AC6 */
00000AF4 598F subq.l A7, 4
00000AF6 7012 moveq.l D0, 0x12
00000AF8 2F00 move.l -[A7], D0
00000AFA 4EAD 028A jsr [A5 + 0x28A /* export_77 */]
00000AFE 2B5F E43E move.l [A5 - 0x1BC2], [A7]+
00000B02 6612 bne +0x14 /* 00000B16 */
00000B04 486D E42A pea.l [A5 - 0x1BD6]
00000B08 3038 0220 move.w D0, [0x00000220 /* MemErr */]
00000B0C 48C0 ext.l D0
00000B0E 2F00 move.l -[A7], D0
00000B10 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000B14 508F addq.l A7, 8
label00000B16:
00000B16 200D move.l D0, A5
00000B18 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00000B1C 206D E43E movea.l A0, [A5 - 0x1BC2]
00000B20 2080 move.l [A0], D0
00000B22 206D E43E movea.l A0, [A5 - 0x1BC2]
00000B26 317C 0001 0008 move.w [A0 + 0x8], 0x1
00000B2C 41ED 016A lea.l A0, [A5 + 0x16A /* export_41 */]
00000B30 226D E43E movea.l A1, [A5 - 0x1BC2]
00000B34 2348 000A move.l [A1 + 0xA], A0
00000B38 206D E43E movea.l A0, [A5 - 0x1BC2]
00000B3C 317C 000A 000E move.w [A0 + 0xE], 0xA /* '\n' */
00000B42 206D E43E movea.l A0, [A5 - 0x1BC2]
00000B46 4268 0010 clr.w [A0 + 0x10]
00000B4A 558F subq.l A7, 2
00000B4C 206D E43E movea.l A0, [A5 - 0x1BC2]
00000B50 4868 0004 pea.l [A0 + 0x4]
00000B54 205F movea.l A0, [A7]+
00000B56 A033 syscall VInstall
00000B58 3E80 move.w [A7], D0
00000B5A 3C1F move.w D6, [A7]+
00000B5C 670E beq +0x10 /* 00000B6C */
00000B5E 486D E434 pea.l [A5 - 0x1BCC]
00000B62 48C6 ext.l D6
00000B64 2F06 move.l -[A7], D6
00000B66 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000B6A 508F addq.l A7, 8
label00000B6C:
00000B6C 1B7C 002A D86E move.b [A5 - 0x2792], 0x2A /* '*' */
00000B72 3B7C 0001 D86C move.w [A5 - 0x2794], 0x1
00000B78 1B7C 0001 E4A0 move.b [A5 - 0x1B60], 0x1
00000B7E 3006 move.w D0, D6
00000B80 4CDF 08C0 movem.l D6,D7,A3, [A7]+
00000B84 4E75 rts
fn00000B86:
00000B86 598F subq.l A7, 4
00000B88 4878 0424 push.l 0x424
00000B8C 4EAD 0292 jsr [A5 + 0x292 /* export_78 */]
00000B90 2B5F E7CA move.l [A5 - 0x1836], [A7]+
00000B94 6714 beq +0x16 /* 00000BAA */
00000B96 206D E7CA movea.l A0, [A5 - 0x1836]
00000B9A 7000 moveq.l D0, 0x00
00000B9C 2140 000C move.l [A0 + 0xC], D0
00000BA0 206D E7CA movea.l A0, [A5 - 0x1836]
00000BA4 317C 0080 001E move.w [A0 + 0x1E], 0x80
label00000BAA:
00000BAA 4878 232F push.l 0x232F /* '#/' */
00000BAE 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */]
00000BB2 588F addq.l A7, 4
00000BB4 4E75 rts
fn00000BB6:
00000BB6 4E56 0000 link A6, 0
00000BBA 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00000BBE 3A2E 000E move.w D5, [A6 + 0xE]
00000BC2 286E 0008 movea.l A4, [A6 + 0x8]
00000BC6 558F subq.l A7, 2
00000BC8 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00000BCE A80D syscall Count1Resources
00000BD0 48C5 ext.l D5
00000BD2 301F move.w D0, [A7]+
00000BD4 48C0 ext.l D0
00000BD6 BA80 cmp.l D5, D0
00000BD8 670C beq +0xE /* 00000BE6 */
00000BDA 206E 0010 movea.l A0, [A6 + 0x10]
00000BDE 30BC 0002 move.w [A0], 0x2
00000BE2 6000 00A0 bra +0xA2 /* 00000C84 */
label00000BE6:
00000BE6 4247 clr.w D7
00000BE8 6000 0086 bra +0x88 /* 00000C70 */
label00000BEC:
00000BEC 7000 moveq.l D0, 0x00
00000BEE 1F00 move.b -[A7], D0
00000BF0 A99B syscall SetResLoad
00000BF2 598F subq.l A7, 4
00000BF4 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00000BFA 3F14 move.w -[A7], [A4]
00000BFC A81F syscall Get1Resource
00000BFE 265F movea.l A3, [A7]+
00000C00 7001 moveq.l D0, 0x01
00000C02 1F00 move.b -[A7], D0
00000C04 A99B syscall SetResLoad
00000C06 200B move.l D0, A3
00000C08 660A bne +0xC /* 00000C14 */
00000C0A 206E 0010 movea.l A0, [A6 + 0x10]
00000C0E 30BC 0001 move.w [A0], 0x1
00000C12 6048 bra +0x4A /* 00000C5C */
label00000C14:
00000C14 598F subq.l A7, 4
00000C16 2F0B move.l -[A7], A3
00000C18 A821 syscall GetMaxResourceSize/MaxSizeRsrc
00000C1A 2C2C 0002 move.l D6, [A4 + 0x2]
00000C1E 9C9F sub.l D6, [A7]+
00000C20 3006 move.w D0, D6
00000C22 48C0 ext.l D0
00000C24 7204 moveq.l D1, 0x04
00000C26 B280 cmp.l D1, D0
00000C28 6D08 blt +0xA /* 00000C32 */
00000C2A 48C6 ext.l D6
00000C2C 70FC moveq.l D0, 0xFFFFFFFC
00000C2E B086 cmp.l D0, D6
00000C30 6F0A ble +0xC /* 00000C3C */
label00000C32:
00000C32 206E 0010 movea.l A0, [A6 + 0x10]
00000C36 30BC 0002 move.w [A0], 0x2
00000C3A 6020 bra +0x22 /* 00000C5C */
label00000C3C:
00000C3C 4A93 tst.l [A3]
00000C3E 671C beq +0x1E /* 00000C5C */
00000C40 2F0B move.l -[A7], A3
00000C42 4EBA 0084 jsr [PC + 0x84 /* 00000CC8 */]
00000C46 48C0 ext.l D0
00000C48 322C 0006 move.w D1, [A4 + 0x6]
00000C4C 48C1 ext.l D1
00000C4E B280 cmp.l D1, D0
00000C50 588F addq.l A7, 4
00000C52 6708 beq +0xA /* 00000C5C */
00000C54 206E 0010 movea.l A0, [A6 + 0x10]
00000C58 30BC 0002 move.w [A0], 0x2
label00000C5C:
00000C5C 200B move.l D0, A3
00000C5E 6708 beq +0xA /* 00000C68 */
00000C60 4A93 tst.l [A3]
00000C62 6604 bne +0x6 /* 00000C68 */
00000C64 2F0B move.l -[A7], A3
00000C66 A9A3 syscall ReleaseResource
label00000C68:
00000C68 3007 move.w D0, D7
00000C6A 5247 addq.w D7, 1
00000C6C D8FC 0008 add.w A4, 0x8
label00000C70:
00000C70 48C7 ext.l D7
00000C72 48C5 ext.l D5
00000C74 BA87 cmp.l D5, D7
00000C76 6F0C ble +0xE /* 00000C84 */
00000C78 206E 0010 movea.l A0, [A6 + 0x10]
00000C7C 3010 move.w D0, [A0]
00000C7E 48C0 ext.l D0
00000C80 6700 FF6A beq -0x94 /* 00000BEC */
label00000C84:
00000C84 200C move.l D0, A4
00000C86 4CEE 18E0 FFEC movem.l D5,D6,D7,A3,A4, [A6 - 0x14]
00000C8C 4E5E unlink A6
00000C8E 4E75 rts
fn00000C90:
00000C90 4E56 0000 link A6, 0
00000C94 48E7 0018 movem.l -[A7], A3,A4
00000C98 286E 0010 movea.l A4, [A6 + 0x10]
00000C9C 266E 0008 movea.l A3, [A6 + 0x8]
00000CA0 558F subq.l A7, 2
00000CA2 2F13 move.l -[A7], [A3]
00000CA4 A80D syscall Count1Resources
00000CA6 302E 000E move.w D0, [A6 + 0xE]
00000CAA 48C0 ext.l D0
00000CAC 321F move.w D1, [A7]+
00000CAE 48C1 ext.l D1
00000CB0 B081 cmp.l D0, D1
00000CB2 6704 beq +0x6 /* 00000CB8 */
00000CB4 38BC 0002 move.w [A4], 0x2
label00000CB8:
00000CB8 D6FC 0006 add.w A3, 0x6
00000CBC 200B move.l D0, A3
00000CBE 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00000CC4 4E5E unlink A6
00000CC6 4E75 rts
fn00000CC8:
00000CC8 4E56 FFFC link A6, -0x0004
00000CCC 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000CD0 286E 0008 movea.l A4, [A6 + 0x8]
00000CD4 4247 clr.w D7
00000CD6 598F subq.l A7, 4
00000CD8 2F0C move.l -[A7], A4
00000CDA 4EAD 02B2 jsr [A5 + 0x2B2 /* export_82 */]
00000CDE 2C1F move.l D6, [A7]+
00000CE0 2006 move.l D0, D6
00000CE2 D094 add.l D0, [A4]
00000CE4 2D40 FFFC move.l [A6 - 0x4], D0
00000CE8 2654 movea.l A3, [A4]
00000CEA 600A bra +0xC /* 00000CF6 */
label00000CEC:
00000CEC 7000 moveq.l D0, 0x00
00000CEE 1013 move.b D0, [A3]
00000CF0 DE40 add.w D7, D0
00000CF2 D6FC 0001 add.w A3, 0x1
label00000CF6:
00000CF6 B7EE FFFC cmpa.l A3, [A6 - 0x4]
00000CFA 65F0 bcs -0xE /* 00000CEC */
00000CFC 3007 move.w D0, D7
00000CFE 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
00000D04 4E5E unlink A6
00000D06 4E75 rts
fn00000D08:
00000D08 4E56 FFFC link A6, -0x0004
00000D0C 48E7 0300 movem.l -[A7], D6,D7
00000D10 4246 clr.w D6
00000D12 558F subq.l A7, 2
00000D14 A81C syscall Count1Types
00000D16 3E1F move.w D7, [A7]+
00000D18 6016 bra +0x18 /* 00000D30 */
label00000D1A:
00000D1A 486E FFFC pea.l [A6 - 0x4]
00000D1E 3F07 move.w -[A7], D7
00000D20 A80F syscall Get1IndType/Get1IxType
00000D22 558F subq.l A7, 2
00000D24 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000D28 A80D syscall Count1Resources
00000D2A DC5F add.w D6, [A7]+
00000D2C 3007 move.w D0, D7
00000D2E 5347 subq.w D7, 1
label00000D30:
00000D30 48C7 ext.l D7
00000D32 4A87 tst.l D7
00000D34 6EE4 bgt -0x1A /* 00000D1A */
00000D36 3006 move.w D0, D6
00000D38 4CEE 00C0 FFF4 movem.l D6,D7, [A6 - 0xC]
00000D3E 4E5E unlink A6
00000D40 4E75 rts
fn00000D42:
00000D42 4E56 FFFA link A6, -0x0006
00000D46 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00000D4A 426E FFFE clr.w [A6 - 0x2]
00000D4E 598F subq.l A7, 4
00000D50 2F3C 4D45 4343 move.l -[A7], 0x4D454343 /* 'MECC' */
00000D56 7003 moveq.l D0, 0x03
00000D58 3F00 move.w -[A7], D0
00000D5A A81F syscall Get1Resource
00000D5C 285F movea.l A4, [A7]+
00000D5E 200C move.l D0, A4
00000D60 6606 bne +0x8 /* 00000D68 */
00000D62 7001 moveq.l D0, 0x01
00000D64 6000 00B4 bra +0xB6 /* 00000E1A */
label00000D68:
00000D68 598F subq.l A7, 4
00000D6A 2F0C move.l -[A7], A4
00000D6C A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc
00000D6E 4A9F tst.l [A7]+
00000D70 660A bne +0xC /* 00000D7C */
00000D72 2F0C move.l -[A7], A4
00000D74 A9A3 syscall ReleaseResource
00000D76 7000 moveq.l D0, 0x00
00000D78 6000 00A0 bra +0xA2 /* 00000E1A */
label00000D7C:
00000D7C 2054 movea.l A0, [A4]
00000D7E 3A10 move.w D5, [A0]
00000D80 4EBA FF86 jsr [PC - 0x7A /* 00000D08 */]
00000D84 3E00 move.w D7, D0
00000D86 48C5 ext.l D5
00000D88 3007 move.w D0, D7
00000D8A 48C0 ext.l D0
00000D8C BA80 cmp.l D5, D0
00000D8E 6F08 ble +0xA /* 00000D98 */
00000D90 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
00000D96 600E bra +0x10 /* 00000DA6 */
label00000D98:
00000D98 48C7 ext.l D7
00000D9A 48C5 ext.l D5
00000D9C BA87 cmp.l D5, D7
00000D9E 6C06 bge +0x8 /* 00000DA6 */
00000DA0 3D7C 0002 FFFE move.w [A6 - 0x2], 0x2
label00000DA6:
00000DA6 2F0C move.l -[A7], A4
00000DA8 205F movea.l A0, [A7]+
00000DAA A064 syscall MoveHHi
00000DAC 2F0C move.l -[A7], A4
00000DAE 205F movea.l A0, [A7]+
00000DB0 A029 syscall HLock
00000DB2 598F subq.l A7, 4
00000DB4 2F0C move.l -[A7], A4
00000DB6 4EAD 02B2 jsr [A5 + 0x2B2 /* export_82 */]
00000DBA 201F move.l D0, [A7]+
00000DBC D094 add.l D0, [A4]
00000DBE 2D40 FFFA move.l [A6 - 0x6], D0
00000DC2 2654 movea.l A3, [A4]
00000DC4 548B addq.l A3, 2
00000DC6 603A bra +0x3C /* 00000E02 */
label00000DC8:
00000DC8 2C13 move.l D6, [A3]
00000DCA 3E2B 0004 move.w D7, [A3 + 0x4]
00000DCE 0C86 434F 4445 cmpi.l D6, 0x434F4445 /* 'CODE' */
00000DD4 6618 bne +0x1A /* 00000DEE */
00000DD6 486E FFFE pea.l [A6 - 0x2]
00000DDA 48C7 ext.l D7
00000DDC 2F07 move.l -[A7], D7
00000DDE 486B 0006 pea.l [A3 + 0x6]
00000DE2 4EBA FDD2 jsr [PC - 0x22E /* 00000BB6 */]
00000DE6 2640 movea.l A3, D0
00000DE8 4FEF 000C lea.l A7, [A7 + 0xC]
00000DEC 6014 bra +0x16 /* 00000E02 */
label00000DEE:
00000DEE 486E FFFE pea.l [A6 - 0x2]
00000DF2 48C7 ext.l D7
00000DF4 2F07 move.l -[A7], D7
00000DF6 2F0B move.l -[A7], A3
00000DF8 4EBA FE96 jsr [PC - 0x16A /* 00000C90 */]
00000DFC 2640 movea.l A3, D0
00000DFE 4FEF 000C lea.l A7, [A7 + 0xC]
label00000E02:
00000E02 302E FFFE move.w D0, [A6 - 0x2]
00000E06 48C0 ext.l D0
00000E08 6606 bne +0x8 /* 00000E10 */
00000E0A B7EE FFFA cmpa.l A3, [A6 - 0x6]
00000E0E 65B8 bcs -0x46 /* 00000DC8 */
label00000E10:
00000E10 2F0C move.l -[A7], A4
00000E12 205F movea.l A0, [A7]+
00000E14 A02A syscall HUnlock
00000E16 302E FFFE move.w D0, [A6 - 0x2]
label00000E1A:
00000E1A 4CEE 18E0 FFE6 movem.l D5,D6,D7,A3,A4, [A6 - 0x1A]
00000E20 4E5E unlink A6
00000E22 4E75 rts
fn00000E24:
00000E24 4E56 FF00 link A6, -0x0100
00000E28 48E7 0110 movem.l -[A7], D7,A3
00000E2C 47EE FF00 lea.l A3, [A6 - 0x100]
00000E30 3E2E 000A move.w D7, [A6 + 0xA]
00000E34 48C7 ext.l D7
00000E36 4A87 tst.l D7
00000E38 6718 beq +0x1A /* 00000E52 */
00000E3A A850 syscall InitCursor
00000E3C 2F0B move.l -[A7], A3
00000E3E 3F3C 07D2 move.w -[A7], 0x7D2
00000E42 7001 moveq.l D0, 0x01
00000E44 3F00 move.w -[A7], D0
00000E46 4EAD 0402 jsr [A5 + 0x402 /* export_124 */]
00000E4A 2F0B move.l -[A7], A3
00000E4C 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
00000E50 588F addq.l A7, 4
label00000E52:
00000E52 3007 move.w D0, D7
00000E54 4CEE 0880 FEF8 movem.l D7,A3, [A6 - 0x108]
00000E5A 4E5E unlink A6
00000E5C 4E75 rts